package com.xqboss.apps.dto.nft;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

@Getter
@Setter
public class HoldPictureDTO {
    @ApiModelProperty("持图购方案")
    private List<NftBeforeRuleDTO> schemes;

    @ApiModelProperty(value = "规则模式 1任意匹配 2完全匹配")
    private Integer ruleMode;

    @ApiModelProperty(value = "持有数量")
    private Integer ownNum;

    @ApiModelProperty(value = "购买次数")
    private Integer buyTimes;

    @ApiModelProperty(value = "折扣金额 根据折扣模式来判断 1比例 2 是固定金额")
    private BigDecimal discountNum;

    @ApiModelProperty(value = "次数叠加 1 开启 0关闭")
    private Integer timesAdd;

    @ApiModelProperty(value = "叠加次数（每增加一倍叠加的数量）")
    private Integer addTimes;

    @ApiModelProperty(value = "叠加优惠 根据折扣模式判断是比例还是固定金额")
    private BigDecimal addDiscount;

    @ApiModelProperty(value = "额外空投 1开启 0关闭")
    private Integer extraReward;

    @ApiModelProperty(value = "额外空投规则集合")
    private List<ExtraRuleDTO> extraRules;

    @ApiModelProperty(value = "规则类型 1是藏品 2是箱子 3是活动")
    private Integer ruleType = 1;
}
